﻿@model StarterKit.Web.Models.RegisterModel
@using BootstrapSupport
@{
    ViewBag.Title = "Manage Account";
}

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset class="form-horizontal">
	    <legend>@Model.GetLabel() <small>@ViewBag.Title</small></legend>
	    @Html.ControlGroupFor(model => model.UserName);
	    @Html.ControlGroupFor(model => model.Email);
	    @Html.ControlGroupFor(model => model.FirstName);
		@Html.ControlGroupFor(model => model.LastName);
	    <div class="form-actions">
            <button type="submit" class="btn btn-primary">Save changes</button>
            @Html.ActionLink("Cancel", "Index", null, new { @class = "btn " })
          </div>
    </fieldset>
}
<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
